package com.cskaoyan._01basic._07flow._01demo;

import java.util.Scanner;

/**
 * @author Macro_Ray
 * @since 2024/3/3 12:10
 */
public class Switch_02 {
    public static void main(String[] args) {
//        String noodles="兰州拉面";

        Scanner sc = new Scanner(System.in);
        System.out.println("请输入你想吃的面");
        String noodles = sc.nextLine();

        switch (noodles){
            case "兰州拉面":
                System.out.println("吃兰州拉面");
                break;
            case "武汉热干面":
                System.out.println("吃热干面");
                break;
            case "北京炸酱面":
                System.out.println("吃炸酱面");
                break;
            case "陕西油泼面":
                System.out.println("吃油泼面");
                break;
            default:
                System.out.println("吃泡面");
                break;
        }

    }
}
